-module(cfg_serverlist).
-export([
get/1,
all/0
])
get(1) ->#cfg_serverlist{id=1001001};
get(2) ->#cfg_serverlist{id=1001002};
get(3) ->#cfg_serverlist{id=1002001};
get(4) ->#cfg_serverlist{id=1002002};
get(_) -> null.
all() ->
[#cfg_serverlist{id=1001001},#cfg_serverlist{id=1001002},#cfg_serverlist{id=1002001},#cfg_serverlist{id=1002002}].